<?php

/**
 * *******************************************************************************
 * Index php file - Starting Point for Personal-ged application
 * ******************************************************************************* 
 * Last Commit : $Date: 2013-08-24 22:10:33 +0000 (Sat, 24 Aug 2013) $
 * *******************************************************************************
 * @author $Author: damien.viguier@gmail.com $
 * @version $Rev: 32 $ 
 * @todo Session Global Env. Vars management
 * @todo Global management of exception and errors
 * *******************************************************************************
 */

/* DB Management library inclusion */
include_once 'lib/DBManagement.class.php';

/* Static HTML Part */

echo '
	<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
	<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<script type="text/javascript" src="jquery-libs/jquery-core/jquery-1.10.2.min.js"></script>
		<script type="text/javascript" src="jquery-libs/jquery-components/jquery-form/jquery.form.min.js"></script>
		<script type="text/javascript" src="jquery-libs/jquery-components/jquery-number/jquery.number.min.js"></script>
		<script type="text/javascript" src="jquery-libs/jquery-components/jqwidgets/jqx-all.js"></script>
		<script type="text/javascript" src="jquery-libs/jquery-components/jquery-grid/jquery.jqGrid.min.js"></script>
		
		<script type="text/javascript" src="src/js/MainUI.class.js"></script>
		<script type="text/javascript" src="src/js/ImportUI.class.js"></script>
		<script type="text/javascript" src="src/js/LibraryUI.class.js"></script>
		<script type="text/javascript" src="jquery-libs/jquery-ui/minified/jquery-ui.custom.min.js"></script>
		
		<LINK href="jquery-libs/jquery-ui-css/themes/sunny/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" type="text/css">
		<LINK href="jquery-libs/jquery-components/jqwidgets/styles/jqx.base.css" rel="stylesheet" type="text/css">
		<LINK href="jquery-libs/jquery-ui-css/jquery-grid/ui.jqgrid.css" rel="stylesheet" type="text/css">
		<LINK href="src/css/ImportUI.css" rel="stylesheet" type="text/css">
		<LINK href="src/css/MainUI.css" rel="stylesheet" type="text/css">
		<title>PGED</title>
	</head>
	<body>
			<p>
				<div  style="float:left;">
							<H1>Personal GED</H1>
							<H4>v. alpha - 2013, August 17th</H4>
				</div>
				<div id="divMsgMainUI" class="ui-widget" style="float:right;margin-top : 40px;margin-right:15px;">
					<div style="padding: 0 .7em;" class="ui-corner-all">
					</div>
				</div>	
			</p>
			<p style="clear:both;"></p>
		<HR/>
		
		<div id="divMainContent" class="ui-widget">
			
		</div>
		
		<div id="tabs">
			  <ul>
			  	<li><a href="#tabAdmin">Welcome</a></li>
				<li><a href="ajax/html/ajx-ui-Library.html">Library</a></li>
			    <li><a href="ajax/html/ajx-ui-ImportedFiles.html">Imported files</a></li>
			  </ul>
			  <div id="tabAdmin">
			  	<p>
			  		Welcome ot PGED Application.
			  	</p>
			  </div>
		</div>
		
	</body>
	</html>
';

?>